package com.techysky.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 数据模块书签
 * @author Administrator
 *
 */
@Entity
@Table(name="sys_marker")
@Data@EqualsAndHashCode(callSuper=false)
public class Marker extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Column(name="x")
	private Double posX;
	@Column(name="y")
	private Double posY;
	@Column(name="title")
	private String title;
	@Column(name="version")
	private String version;
	@Column(name="publish_date")
	private String publishDate;
	@Column(name="user_name")
	private String userName;
	@Column(name="type")
	private String type;//comment,tag,p
	@Column(name="visibility")
	private String visibility;//0,1
	@Column(name="content")
	private String content;
	@Column(name="checked")
	private Boolean checked;
	@Column(name="file")
	private String file;
	@Column(name="dm_code")
	private String dmCode;	
	@Column(name="dmodel_id")
	private String dmodelId;	
	@Transient
	private Integer page;
	@Transient
	private Integer size;
	//判断进行的何种操作
	@Transient
	private String operation;
	@Column(name="project_id")
	private String projectId;

}
